home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
C & C++ Multimedia Cyber Classroom
/
C and C++ Multimedia Cyber Classroom (Prentice Hall) (1998).iso
/
cpphtp2
/
code.jar
/
code
/
ch11
/
fig11_06.txt
< prev
next >
Wrap
Text File
|
1998-02-27
|
319b
|
15 lines
1 // Fig. 11.6: fig11_06.cpp
2 // Outputting expression values.
3 #include <iostream.h>
4
5 int main()
6 {
7 cout << "47 plus 53 is ";
8
9 // parentheses not needed; used for clarity
10 cout << ( 47 + 53 ); // expression
11 cout << endl;
12
13 return 0;
14 }